<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />
<LINK rel="Bookmark" href="/favicon.ico" >
<LINK rel="Shortcut Icon" href="/favicon.ico" />
<link rel="stylesheet" type="text/css" href="/static/admin/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="/static/admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="/static/admin/css/iconfont.css" />
<link rel="stylesheet" type="text/css" href="/static/admin/css/style.css" />
<title>用户详情</title>
</head>
<body>
<div class="cl pd-20" style=" background-color:#5bacb6">
  <img class="avatar size-XL l" src="<?php echo $info['portrait']?>">
  <dl style="margin-left:80px; color:#fff">
    <dt><span class="f-18"><?php echo $info['nickname']?></span>
      <span class="pl-10 f-12">现金收益：<?php echo $info['amount']?></span>
      <span class="pl-10 f-12">账户余额：<?php echo $info['balance']?></span>
      <span class="pl-10 f-12">代币收益：<?php echo $info['coin_income']?></span>
      <span class="pl-10 f-12">代币余额：<?php echo $info['coin_balance']?></span>
    </dt>
    <dd class="pt-10 f-12" style="margin-left:0"><?php echo empty($info['signature']) ? '这家伙很懒，什么也没有留下' : $info['signature']?></dd>
  </dl>
</div>
<div class="pd-20">
  <table class="table">
    <tbody>
      <tr>
        <th class="text-r" style="width: 90px;">用户账户：</th>
        <td><?php echo $info['username']?></td>
      </tr>
      <tr>
        <th class="text-r">性别：</th>
        <td><?php echo empty($info['sex']) ? '男' : '女'?></td>
      </tr>
      <tr>
        <th class="text-r">类型：</th>
        <td><?php echo $info['name']?></td>
      </tr>
      <tr>
        <th class="text-r">动态数：</th>
        <td><?php echo $info['dynamic_num']?></td>
      </tr>
      <tr>
          <th class="text-r">关注商家数：</th>
          <td><?php echo $info['follow_business_num']?></td>
      </tr>
      <tr>
        <th class="text-r">关注用户数：</th>
        <td><?php echo $info['follow_user_num']?></td>
      </tr>
      <tr>
        <th class="text-r">粉丝数：</th>
        <td><?php echo $info['fans_num']?></td>
      </tr>
      <tr>
          <th class="text-r">情感：</th>
          <td><?php echo empty($info['emotion']) ? '保密' : ($info['emotion'] == 1 ? '单身' : ($info['emotion'] == 2 ? '恋爱' : '已婚'))?></td>
      </tr>
      <tr>
          <th class="text-r">家乡：</th>
          <td><?php echo empty($info['address']) ? '-' : $info['address']?></td>
      </tr>
      <tr>
          <th class="text-r">职业：</th>
          <td><?php echo empty($info['vocation']) ? '-' : $info['vocation']?></td>
      </tr>
      <tr>
          <th class="text-r">音乐：</th>
          <td><?php echo empty($info['tag']) ? '-' : $info['tag']?></td>
      </tr>
      <tr>
        <th class="text-r">酒类：</th>
        <td><?php echo empty($info['wine']) ? '-' : $info['wine']?></td>
      </tr>
      <tr>
        <th class="text-r">最后登录时间：</th>
        <td><?php echo empty($info['last_login_time']) ? '-' : date('Y-m-d H:i:s',$info['last_login_time'])?></td>
      </tr>
      <tr>
          <th class="text-r">创建时间：</th>
          <td><?php echo date('Y-m-d H:i:s',$info['create_time'])?></td>
      </tr>
      <tr>
          <th class="text-r">状态：</th>
          <td><?php echo $info['status'] == 1 ? '已启用' : '已禁用'?></td>
      </tr>
    </tbody>
  </table>
</div>
<script type="text/javascript" src="/static/admin/js/jquery.min.js"></script>
<script type="text/javascript" src="/static/admin/js/H-ui.min.js"></script>
</body>
</html>